package com.consumer.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 项目EPIC任务(TEpic)表实体类
 *
 * @author makejava
 * @since 2024-04-28 14:35:10
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TEpic extends Model<TEpic> {
    //卡片id
    private String epicId;
    //任务组ID
    private String taskGroupId;
    //所属项目
    private String systemId;
    //1-项目集
    //2-项目
    //3-产品集
    //4-产品
    private String systemType;
    //系统所属组
    private String systemGroupId;
    //所属计划
    private String planeId;
    //2级计划ID
    private String planeDetailId;
    //epict编码
    private String code;
    //epict名称
    private String name;
    //epict标题
    private String title;
    //卡片状态
    //1.新建
    //2.进行中
    //3.完成
    private String status;
    //epict描述
    private String remark;
    //负责人
    private String moniterUser;
    //提出人
    private String introducerUser;
    //处理人
    private String handlerUser;
    //测试人
    private String testUser;
    //运维人
    private String opsUser;
    //预计开始时间
    private LocalDateTime predictBeginTime;
    //预计结束时间
    private LocalDateTime predictEndTime;
    //实际开始时间
    private LocalDateTime practicalBeginTime;
    //实际结束时间
    private LocalDateTime practicalEndTime;
    //预计参与人数
    private Integer predictHuman;
    //实际参与人数
    private Integer practicalHuman;
    //预计每人/每天工时
    private BigDecimal predictManHour;
    //实际每人/每天公时
    private BigDecimal practicalManHour;

    private BigDecimal predictDay;

    private BigDecimal practicaDay;
    //预计工时
    private BigDecimal hoursOfWork;
    //实际工时
    private BigDecimal hoursOfWorkTruth;
    //优先顺序 由低到高排序
    private int sort;
    //L1,L2,L3
    private String level;

    private String period;
    //1-天
    //2-周
    //3-月
    private String periodUnit;
    //是否有效 Y 有效，N 无效
    private String isValid;
    //创建时间
    private LocalDateTime createTime;
    //创建人
    private String createUser;
    //修改时间
    private LocalDateTime updateTime;
    //修改人
    private String updateUser;
    //租户ID
    private String lesseeId;

    private String type;

    private String alias;
    //预计工时单位 1 天，2 时
    private String hoursOfWorkUnit;
    //需求id
    private String demandId;
    //1：需求池，2：工单
    private String source;

    private String terminated;
}

